<%@page import="bean.MemberVo"%>
<%@page import="bean.MemberDTO"%>
<%@page import="java.util.Enumeration"%>
<%@page import="com.oreilly.servlet.multipart.DefaultFileRenamePolicy"%>
<%@page import="com.oreilly.servlet.MultipartRequest"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>input_result.jsp</title>
<link rel='stylesheet' href='./css/member.css'/>
<script src='./js/member.js'></script>
</head>
<body>
<h1>회원 입력 결과(II)</h1>
<%
MemberVo vo = new MemberVo(request);
MemberDTO dto = new MemberDTO();
dto.setVo2(vo);
if(dto.insert()){
	out.print("저장되었습니다.");
}else{
	out.print("저장중 오류 발생");
}
%>
<li><%=dto.getVo().getMid() %>
<li><%=dto.getVo().getPhoto() %>
<br/>
<img src='./memberPhoto/'<%=dto.getVo().getPhoto()%>' alt="사진">
<p/>
<form name='memberFrm' method='post'>
	<input type='button' value='목록으로' id='btnList'/>
</form>
<script>inputInit();</script>
</body>
</html>








